hipreme_engine v1.0.14 (2023-12-23T18:43:10Z)
Dub
Repo
RingBuffer
hip
util
data_structures
Undocumented in source.
struct
RingBuffer (
T
uint
Length
) {
struct
Volatile
(T)
via
import
hip
.
util
.
concurrency
:
Volatile
;
;
@
nogc
T
[
Length
]
data
;
this
();
void
push
(T data);
T
[]
read
(uint count);
T
read
();
void
dispose
();
~this
();
}
Constructors
this
this
()
Undocumented in source.
Destructor
~this
~this
()
Undocumented in source.
Members
Functions
dispose
void
dispose
()
Undocumented in source. Be warned that the author may not have intended to support it.
push
void
push
(T data)
Undocumented in source. Be warned that the author may not have intended to support it.
read
T
[]
read
(uint count)
It may read less than count if it is out of bounds
read
T
read
()
Undocumented in source. Be warned that the author may not have intended to support it.
Variables
data
T
[
Length
]
data
;
Undocumented in source.
Meta
Source
See Implementation
hip
util
data_structures
aliases
AArray
classes
Array2D_GC
EventQueue
Node
mixin templates
DirtyFlagFields
structs
Array
Array2D
Dirty
DirtyFlagsCmp
Map
Pair
RangeMap
RingBuffer
Signal